import { myRequest, apiBase } from '../../api/myRequest'
import { baseUrl } from '../../api/url'

const prefix = 'EVENT_'

export default {
    queryInfoByPage(pageNumber=1, pageSize=12, filter={}) {
        return myRequest(apiBase({ url: `${baseUrl}/event` }), [{ 
            action: `${prefix}QUERY_INFO_BY_PAGE`, pageNumber, pageSize, ...filter
        }])
    },
}